<!--title-->
<div class="mnav1">
	<div class="m_nav">
		<div class="nav_left">
			<em class="home_icon"><?=$this->sys_name?></em><span>&nbsp;&gt;&nbsp;</span><font><?=$this->title?></font>
		</div>
	</div>
</div>

<div class="content-table">
<br/><br/>
<div class="form-edit">

<?php if($this->msg):?>
<div class="replace"><?=$this->msg?></div>
<?php endif;?>

<form action="/others/profile-submit" method="post" name="form1" onsubmit="return submitform(this)">
姓　　名：<input type="text"  name="realname" id="realname" value="<?=$this->data['realName']?>"><br/>
修改密码：<input type="password"  name="pwd1" id="pwd1" value="">  <font>* 无需修改请留空</font><br/>
确认密码：<input type="password" name="pwd2" id="pwd2" value="">  <font>* 无需修改请留空</font><br/>
<input type="submit" class="buttonlong" value="更新" />
<br /><br />
</form>
</div>
<br/><br/>
</div>

<script>
function submitform() 
{
	if( document.form1.pwd2.value !== document.form1.pwd1.value )
	{
		alert("两次输入的密码不一致");
		return false;
	}
	
	form1.submit();
}
</script>